Skip to content

fix(bestie): show the Bestie's profile picture in navigation - #3423

Open
brow wants to merge 2 commits into
mainfrom
bestie-profile-avatar
Open

brow wants to merge 2 commits into
mainfrom
bestie-profile-avatar

Conversation

@brow

@brow brow commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

The Bestie button in the app dock and sidebar showed the agent's initial instead of its picture for some people, even though the same agent's DM row, messages and profile showed the picture.

The button read only the picture from the agent inventory. On a device where the Bestie isn't a local agent (for example an agent that runs on your other Mac), that inventory row comes from the relay library, which carries no picture of its own, so the button fell back to initials.

The button now follows the same rule as DM rows and message avatars: the agent's published profile picture wins. The inventory picture is used only until that profile loads (or when the profile has no picture, matching the channel member avatars). The bundled-poster match still runs on whichever URL wins, so pack avatars keep their offline poster.

Before (Bestie tab shows "S" for an agent whose profile has a pack avatar):

Bestie tab showing an initial

Regressions

None expected. The only new work is one background profile read for a single pubkey, through the shared profile directory that DM rows already use, so it's normally a cache hit. Agents without a profile picture keep today's behavior.

Validation

  • Added test: the Bestie tab shows the definition's art while the profile is pending, requests that profile, then switches to the published profile picture (a different bundled avatar, matched to its poster). Fails without the fix.
  • Focused existing validation: all src/app/shell tests and the TypeScript typecheck pass.
  • Independent fresh-context review: approve, no blocking findings.
  • Not yet captured: an after screenshot from a running app.

The Bestie button read only the agent definition's picture. On a device
where the agent isn't local, that inventory row has no picture, so the
button fell back to initials while DM rows and messages showed the
profile picture. Prefer the published profile picture, use the
definition's art only until the profile loads, and keep the bundled
poster match on whichever URL wins.
@brow

brow commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T23:58:43.900489Z 5191fea Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: fd1f59d871

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@brow
brow marked this pull request as ready for review November 12, 2026 23:57
@brow
brow requested a review from a team as a code owner November 12, 2026 23:57

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants